package org.example.service.impl;

import org.example.model.pojo.Particulars;
import org.example.model.vo.OrdersVO;
import org.example.model.vo.ParticularsVO;
import org.example.service.IParticularsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.mapper.ParticularsMapper;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 针对表【-Particulars】的业务操作的Service实现类
 *
 * @author
 * @since 2024-12-23
 */
@Service
public class ParticularsServiceImpl extends ServiceImpl<ParticularsMapper, Particulars> implements IParticularsService {



    @Override
    public List<ParticularsVO> findAll(ParticularsVO particularsVO) {
        return baseMapper.findAll(particularsVO);
    }

    @Override
    public List<ParticularsVO> getByOrderId(Integer orderId) {
        return baseMapper.getByOrderId(orderId);
    }

    @Override
    public Integer AddOrders(OrdersVO ordersVO) {
        return baseMapper.AddOrders(ordersVO);
    }

}
